package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Personnel;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface PersonnelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Personnel record);

    Personnel selectByPrimaryKey(Long id);

    List<Personnel> selectAll();

    int updateByPrimaryKey(Personnel record);

    int queryForCount(QueryObject qo);

    List<Personnel> queryForList (QueryObject qo);
}